/*
 * @Author: Liu
 * @Date: 2023-05-05 17:35:16
 * @LastEditTime: 2023-05-18 17:26:47
 */
/*
 * @Author: Liu
 * @Date: 2023-05-04 14:18:06
 * @LastEditTime: 2023-05-04 14:40:36
 */
import { createApp } from 'vue'
import './style.css'
import './common.css'
import './assets/css/animista.css'
import "./assets/font/font.css"
import App from './App.vue'
import router from "./router/index.js"
import wx from  'weixin-js-sdk'

import VueLuckyCanvas from '@lucky-canvas/vue'
import Vconsole from 'vconsole'
// if(import.meta.env.MODE=="staging"){
//     let vConsole = new Vconsole()
// }
// let vConsole = new Vconsole()

window.wx = wx

 
window.addEventListener('pageshow', function(e) {
    //如果检测到页面是从“往返缓存”中读取的，刷新页面
    if (e.persisted) {
        window.location.reload();
    }
});

window.startHref = window.location.href

window.appOnload = function(){
    
}

const app = createApp(App)
app.use(router)
app.use(VueLuckyCanvas)
app.mount('#app')


